package com.xsomnus.java_basic.juc.queue;

/**
 * @author @xsomnus666_xiawenye★
 * @since 2019/7/23 0023 15:32
 * - 才需学也,学需静也/非淡泊无以明志，非宁静无以致远
 */
public class SayHello {

    private String to;

    public SayHello(String to) {
        this.to = to;
    }

    public static void main(String[] args) {
        int parent = parent(1);
        // 00001001
        // 00000100
        System.out.println(parent);
    }

    private static int parent(int n) {
        return   (n >>> 1) - 1;
    }

}
